import SvgIcon from "@/components/SvgIcon.vue";
import type { Component } from "vue";

const gloablComponents: Component = { SvgIcon };

export default {
  install(app: any) {
    Object.keys(gloablComponents).forEach((item) => {
      app.component(item, gloablComponents[item]);
    });
  },
};
